import MyComponent from "../../common/MyComponent";
import { GameConst } from "../../constant/GameConst";
import Core from "../../Core";

const { ccclass, property, menu } = cc._decorator;

@ccclass
@menu("测试组件/TestListView")
export default class TestListView extends MyComponent {
  constructor() {
    super();
    this.winType = GameConst.WIN_TYPE.POPUP;
  }

  protected onEnable(): void {
    console.timeEnd();
  }

  onClickBtnClose(): void {
    //Core.windowManager.open(GameConst.TestWinOne, null, true);
    this.close();
  }
}
